package com.sinopec.basemodule.utils.preferences

import com.sinopec.basemodule.BaseApplication

inline fun <reified I, T> I.preferencesExt(default: T, noinline key: () -> String = { "" }) =
    PreferencesBy(
        BaseApplication.getInstance().applicationContext,
        default,
        key,
        "yelo_enjoy_pallet"
    )